package item.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import item.bean.Customer;
import item.dao.CustomerDao2;
import item.service.ICustomerService;
import item.util.Page;
@Service
public class CustomerServiceA implements ICustomerService{
	@Autowired 
	CustomerDao2 bb;
	public List<Customer> getCustomer(Customer customer, Page page) {
		return bb.getCustomer(customer, page);
	}
	public int getCount(Customer customer) {
		return bb.getCount(customer);
	}
	public int addCustomerMes(Customer customer) {
		return bb.addCustomerMes(customer);
	}
	public int delCustomer(int id) {
		return bb.delCustomer(id);
	}
	public int deleteCustomer(int id) {
		return bb.deleteCustomer(id);
	}
	public int editCustomer(Customer customer) {
	return bb.editCustomer(customer);
	}
	public Customer getCustomerById(int id) {
	return bb.getCustomerById(id);
	}
	public int editImgByID(Customer customer) {
		return bb.editImgByID(customer);
	}
public int editCarStatusA(Customer customer) {
	return bb.editCarStatusA(customer);
}
public int editCustomerRentalandstatus(Customer customer) {
	return bb.editCustomerRentalandstatus(customer);
}

}
